using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN HoSoChiTietService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: HoSoChiTietService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class HoSoChiTietService : IHoSoChiTietService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: HoSoChiTiet_ID</para>
		/// <para>Output: HoSoChiTietEntity</para>
		///</summary>
		public HoSoChiTietEntity SelectOne(int HoSoChiTiet_ID){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.SelectOne(HoSoChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of HoSoChiTietEntity</para>
		///</summary>
		public List<HoSoChiTietEntity> SelectAll(){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of HoSoChiTietEntity</para>
		///</summary>
		public List<HoSoChiTietEntity> SelectAllFilter(string strFilter){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: HoSoChiTietEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(HoSoChiTietEntity o){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: HoSoChiTietEntity</para>
		/// <para>Output: HoSoChiTietEntity</para>
		///</summary>
		public HoSoChiTietEntity SaveRet(HoSoChiTietEntity o){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of HoSoChiTietEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<HoSoChiTietEntity> list){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of HoSoChiTietEntity</para>
		/// <para>Output: List of HoSoChiTietEntity</para>
		///</summary>
		public List<HoSoChiTietEntity> SaveListRet(List<HoSoChiTietEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: HoSoChiTietEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(HoSoChiTietEntity o){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of HoSoChiTietEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<HoSoChiTietEntity> list){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHoSo_ID</para>
		/// <para>Input: NewHoSo_ID,HoSoChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHoSo_ID(int NewHoSo_ID,int HoSoChiTiet_ID){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.UpdateHoSo_ID(NewHoSo_ID,HoSoChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLoaiGiayTo_ID</para>
		/// <para>Input: NewLoaiGiayTo_ID,HoSoChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLoaiGiayTo_ID(int NewLoaiGiayTo_ID,int HoSoChiTiet_ID){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.UpdateLoaiGiayTo_ID(NewLoaiGiayTo_ID,HoSoChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSoLuongYeuCau</para>
		/// <para>Input: NewSoLuongYeuCau,HoSoChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSoLuongYeuCau(int NewSoLuongYeuCau,int HoSoChiTiet_ID){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.UpdateSoLuongYeuCau(NewSoLuongYeuCau,HoSoChiTiet_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateBatBuoc</para>
		/// <para>Input: NewBatBuoc,HoSoChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateBatBuoc(bool NewBatBuoc,int HoSoChiTiet_ID){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.UpdateBatBuoc(NewBatBuoc,HoSoChiTiet_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: HoSoChiTietEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(HoSoChiTietEntity o){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: HoSoChiTiet_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int HoSoChiTiet_ID){
			HoSoChiTietDAO dao = new HoSoChiTietDAO();
			return dao.DeleteByID(HoSoChiTiet_ID);
		}
		#endregion

		#region Select join to HoSoLoaiGiayTo functions
		#endregion

		#region Select join to HoSo functions
		#endregion

		#region Select join to LoaiGiayTo functions
		#endregion

		#region Select,delete by HoSoChiTiet_ID functions
		#endregion

		#region Select,delete by HoSo_ID functions
		#endregion

		#region Select,delete by LoaiGiayTo_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END HoSoChiTietWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

